package com.hmall.feign.config;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;

public class MyConfig {

    @Bean
    public RequestInterceptor requestInterceptor() {
        return template -> template.query("authorization", "2");
    }
    
}
